<?php
if(!$is_valid_code)
	echo 'not valid code';
else if($is_verified)
	echo 'is_verified';
else
	echo 'verification success!';
?>